<template>
  <div class="container">
    <ul id="scene" style="margin:100px">
      <li class="layer" data-depth="1"><img src="../../assets/logo.png" /></li>
      <li class="layer" data-depth="3"><img src="../../assets/logo.png" /></li>
      <li class="layer" data-depth="7"><img src="../../assets/logo.png" /></li>
    </ul>
  </div>
</template>

<script>
import Parallax from "parallax-js";
export default {
  data() {
    return {};
  },
  created() {},
  mounted() {
    this.intscence();
  },
  methods: {
    intscence() {
      var scene = document.getElementById("scene");
      var parallaxInstance = new Parallax(scene, {
        relativeInput: true,
      });
    },
  },
};
</script>

<style scoped>
body {
    margin: 0;
    padding: 0;
}
 
.container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(rgb(87, 184, 228),rgb(83, 207, 186));
    background-attachment: fixed;
}
</style>